package com.sun.mapper.ums;

import com.sun.pojo.UmsMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 后台菜单表 Mapper 接口
 * </p>
 *
 * @author 妙妙屋
 * @since 2021-12-13
 */
public interface UmsMenuMapper extends BaseMapper<UmsMenu> {

    List<UmsMenu> getTreeList();

    List<UmsMenu> listMenuByRoleId(Long id);
}
